package com.workflow.interceptor;
//
//import com.base.service.FlowaudithistoryService;
//import com.base.service.FlowtemplatebranchService;
//import com.base.service.FlowtemplatedetailService;
//import com.base.service.FlowworkitemService;
//import com.common.bean.Flowaudithistory;
//import com.common.bean.Flowworkitem;
//import com.opensymphony.xwork2.Action;
import com.opensymphony.xwork2.ActionInvocation;
import com.opensymphony.xwork2.interceptor.AbstractInterceptor;
//import com.workflow.bean.Applydept;
//import com.workflow.service.ApplydeptService;
//
public class WorkflowInterceptor extends AbstractInterceptor {
	private static final long serialVersionUID = 8706106301736521072L;

	//	private FlowaudithistoryService flowaudithistoryService;
//	
//	private FlowworkitemService flowworkitemService;
//	
//	private FlowtemplatedetailService flowtemplatedetailService;
//	
//	private FlowtemplatebranchService flowtemplatebranchService;
//	
//	private ApplydeptService applydeptService;
//	
//	private String flowflag;//流程模板名称标识 ：报领等
//	
//	private String result;//审核结果 : 通过、拒绝 、“”（空）
//	
//	private Flowaudithistory flowaudithistory;
//	
//	private Applydept applydept;
//	
//	private String applyno;
//	
//	private Flowworkitem flowworkitem;
//
	@Override
	public String intercept(ActionInvocation invocation) throws Exception {
		//拦截所有对各种单据的增改操作，并记录其审核内容
//		Action action = (Action) invocation.getAction();
		
		//判断何种操作 ：保存(修改)增加 、审核增加
		
		return null;
	}
//
}
